package com.jj.thrift.client;

import com.jj.core.utils.Hex;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MsgTest {

    public static void main(String[] args) {
        byte[] data = {10, 46, 123, 34, 114, 101, 115, 117, 108, 116, 34, 58, 123, 34, 115, 116, 97, 116, 101, 34, 58, 34, 80, 50, 87, 105, 110, 34, 44, 34, 72, 80, 49, 34, 58, 48, 44, 34, 72, 80, 50, 34, 58, 49, 48, 48, 125, 125};
        log.debug("hex:\n{}", Hex.printhex2Buf(data));
        log.debug("str:{}", new String(data));
    }
}
